home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / fpu881 / src6.zoo / matherr.c < prev    next >
C/C++ Source or Header  |  1991-09-24  |  2KB  |  70 lines

  1. /* pml compatible lib for the atari sfp004
  2.  *
  3.  * Michael Ritzert, Oktober 1990
  4.  * ritzert@dfg.dbp.de
  5.  */
  6.  
  7. /************************************************************************
  8.  *                                    *
  9.  *                N O T I C E                *
  10.  *                                    *
  11.  *            Copyright Abandoned, 1987, Fred Fish        *
  12.  *                                    *
  13.  *    This previously copyrighted work has been placed into the    *
  14.  *    public domain by the author (Fred Fish) and may be freely used    *
  15.  *    for any purpose, private or commercial.  I would appreciate    *
  16.  *    it, as a courtesy, if this notice is left in all copies and    *
  17.  *    derivative works.  Thank you, and enjoy...            *
  18.  *                                    *
  19.  *    The author makes no warranty of any kind with respect to this    *
  20.  *    product and explicitly disclaims any implied warranties of    *
  21.  *    merchantability or fitness for any particular purpose.        *
  22.  *                                    *
  23.  ************************************************************************
  24.  */
  25.  
  26.  
  27. /*
  28.  *  FUNCTION
  29.  *
  30.  *    matherr    default math error handler function
  31.  *
  32.  *  KEY WORDS
  33.  *
  34.  *    error handler
  35.  *    machine independent routines
  36.  *    math libraries
  37.  *
  38.  *  DESCRIPTION
  39.  *
  40.  *    Default math error handler for the math library.  This routine
  41.  *    may be replaced by one of the user's own handlers.  The default
  42.  *    is to do nothing and returns zero.  If the user wishes to supply
  43.  *    the return value for the function, and to suppress default
  44.  *    error handling by the function, his matherr routine must return
  45.  *    non-zero.
  46.  *
  47.  *  USAGE
  48.  *
  49.  *    int matherr (xcpt)
  50.  *    struct exception *xcpt;
  51.  *
  52.  *  PROGRAMMER
  53.  *
  54.  *    Fred Fish
  55.  *
  56.  */
  57.  
  58. #include <stdio.h>
  59. #include <pmluser.h>
  60. #include "pml.h"
  61.  
  62. static char funcname[] = "matherr";
  63.  
  64. int matherr (xcpt)
  65. struct exception *xcpt;
  66. {
  67.     DBUG_ENTER (funcname);
  68.     DBUG_RETURN (0);
  69. }
  70.